package ltd.dujiabao.eduservice.client;

import lombok.extern.slf4j.Slf4j;
import ltd.dujiabao.commonutils.Result;
import ltd.dujiabao.commonutils.ResultCode;
import ltd.dujiabao.servicebase.exception.MyException;
import org.springframework.stereotype.Component;

/**
 * @author : DuJiabao
 * @Project : online-course-project
 * @Time : 2021/4/23 16:39
 * @Desc :
 */
@Component
@Slf4j
public class VodFileDegradeFeignClient implements VodClient {
  @Override
  public Result removeVideo(String videoIds) {
    log.error("视频 "+videoIds+" 删除失败");
    throw new MyException(ResultCode.FAILURE,"视频删除失败");
  }
}
